package com.gcu.drivingschool.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;

/**
 * 预约学车记录返回信息
 * @author zzr
 * @create 2024-05-15-18:24
 */
@Schema(description = "预约学车记录返回信息")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BookDrivingVo {
    /**
     * 预约记录主键
     */
    @Schema(description = "预约记录主键")
    private Integer id;
    /**
     * 学员id
     */
    @Schema(description = "学员id")
    private Integer studentId;
    /**
     * 学员姓名
     */
    @Schema(description = "学员姓名")
    private String studentName;
    /**
     * 学员联系电话
     */
    @Schema(description = "学员联系电话")
    private String studentTel;
    /**
     * 教练id
     */
    @Schema(description = "教练id")
    private Integer coachId;

    /**
     * 教练姓名
     */
    @Schema(description = "教练姓名")
    private String coachName;

    /**
     * 教练联系电话
     */
    @Schema(description = "教练联系电话")
    private String coachTel;

    /**
     * 教练照片
     */
    @Schema(description = "教练照片")
    private String coachPhoto;

    /**
     * 类型
     */
    @Schema(description = "类型")
    private String type;

    /**
     * 车牌号
     */
    @Schema(description = "车牌号")
    private String carNumber;

    /**
     * 车型
     */
    @Schema(description = "车型")
    private String carType;

    /**
     * 预约时间
     */
    @Schema(description = "预约时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private LocalDate bookDate;

    /**
     * 预约记录状态（未过期，已过期）
     */
    @Schema(description = "预约记录状态（未过期，已过期）")
    private String status;
}
